﻿using WS.EKA.Model;
using System.Data.SqlClient;

namespace WS.EKA.DataAccess
{
    public class AccountContext:DBContext<Account>
    {
        public static int Add(Account account)
        {
            SqlParameter[] parameters = new SqlParameter[]
                {
                    new SqlParameter("MemLoginID",account.MemLoginID),
                    new SqlParameter("Email",account.Email),
                    new SqlParameter("Pwd",account.Pwd)
                };

            return ExecProc(null, "Usp_MemberRegist", parameters);
        }

       
    }
}
